for i=1:1:length(h)
    h1(i)=h(1,1,i);    
end
h1